.class public La/a/hw;
.super Ljava/lang/Object;


# instance fields
.field private final a:I

.field private final b:I

.field private c:La/a/hu;

.field private d:Landroid/content/Context;

.field private e:La/a/hr;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/16 v0, 0x80

    iput v0, p0, La/a/hw;->a:I

    const/16 v0, 0x100

    iput v0, p0, La/a/hw;->b:I

    if-nez p1, :cond_0

    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "Context is null, can\'t track event"

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, La/a/hw;->d:Landroid/content/Context;

    new-instance v0, La/a/hu;

    iget-object v1, p0, La/a/hw;->d:Landroid/content/Context;

    invoke-direct {v0, v1}, La/a/hu;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, La/a/hw;->c:La/a/hu;

    iget-object v1, p0, La/a/hw;->c:La/a/hu;

    sget-boolean v0, Lcom/a/a/a;->l:Z

    if-nez v0, :cond_1

    const/4 v0, 0x1

    :goto_0
    invoke-virtual {v1, v0}, La/a/hu;->a(Z)V

    iget-object v0, p0, La/a/hw;->d:Landroid/content/Context;

    invoke-static {v0}, La/a/hr;->a(Landroid/content/Context;)La/a/hr;

    move-result-object v0

    iput-object v0, p0, La/a/hw;->e:La/a/hr;

    return-void

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method
